<form method='post' action='<?=$_SERVER['REQUEST_URI']?>' class="dataForm">
<?php if(!empty($cid)):?>
	<div class="zzlBox">
		<label for="">一级分类名称：</label>
		<div><?=$cf?></div>
	</div>
	<div class="zzlBox">
		<label for="">二级分类名称：</label>
		<input class="zInput" type="text" value="<?=@$class['Class']['name']?>" name='name' placeholder="分类名称">
	</div>
<?php else:?>
	<div class="zzlBox">
		<label for="">一级分类名称：</label>
		<input class="zInput" type="text" value="<?=@$class['Class']['name']?>" name='name' placeholder="分类名称">
	</div>	
<?php endif;?>	
	<button class="zSubmit" type="submit">提交</button>
</form>